The section describes the programming interface of the DMAMUX HAL module.
More...
This structure is used inside the DMA driver.
| Enumerator |
|---|
| kDmamuxDmaRequestSource |
Maximum number of the DMA requests allowed for the DMA mux.
|
| void dmamux_hal_init |
( |
uint8_t |
module | ) |
|
Initializes the DMAMUX module to the reset state.
- Parameters
-
| module | DMAMUX module index |
| static void dmamux_hal_enable_channel |
( |
uint8_t |
module, |
|
|
uint8_t |
channel |
|
) |
| |
|
inlinestatic |
Enables the hardware request. If enabled, the hardware request is sent to the corresponding DMA channel.
- Parameters
-
| module | DMAMUX module. |
| channel | DMAMUX channel. |
| static void dmamux_hal_disable_channel |
( |
uint8_t |
module, |
|
|
uint8_t |
channel |
|
) |
| |
|
inlinestatic |
Disable hardware request. If disabled, the hardware request is not sent to the corresponding DMA channel.
- Parameters
-
| module | DMAMUX module. |
| channel | DMAMUX channel. |
| static void dmamux_hal_enable_period_trigger |
( |
uint8_t |
module, |
|
|
uint8_t |
channel |
|
) |
| |
|
inlinestatic |
- Parameters
-
| module | DMAMUX module. |
| channel | DMAMUX channel. |
| static void dmamux_hal_disable_period_trigger |
( |
uint8_t |
module, |
|
|
uint8_t |
channel |
|
) |
| |
|
inlinestatic |
- Parameters
-
| module | DMAMUX module. |
| channel | DMAMUX channel. |
| static void dmamux_hal_set_trigger_source |
( |
uint8_t |
module, |
|
|
uint8_t |
channel, |
|
|
uint8_t |
source |
|
) |
| |
|
inlinestatic |
Sets the trigger source for the DMA channel. The trigger source is in the file fsl_dma_request.h.
- Parameters
-
| module | DMAMUX module. |
| channel | DMAMUX channel. |
| source | DMA request source. |